<script>
export default {
	onLaunch: function() {
		this.$store.dispatch('initUser')
		this.$store.dispatch('initList')
	},
	onShow: function() {
		if (this.$store.user) {
			this.$store.dispatch('getShareUrl')
		}
	},
	onHide: function() {
		console.log('App Hide')
	}
}
</script>

<style>
/*每个页面公共css */
@import url('@/common/icon.css');
@import url('@/common/common.css');
@import url('@/common/uni.css');
@import url('@/common/free.css');
</style>
